package com.ly.heart.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.heart.domain.CarCostEntity;

/**
 * 车辆费用单Service接口
 *
 * @author cxl
 * @date 2024-09-08
 */
public interface ICarCostService extends IService<CarCostEntity> {
    /**
     * 查询车辆费用单
     *
     * @param id 车辆费用单ID
     * @return 车辆费用单
     */
    public CarCostEntity selectCarCostEntityById(String id);

    /**
     * 查询车辆费用单列表
     *
     * @param carCostEntity 车辆费用单
     * @return 车辆费用单集合
     */
    public List<CarCostEntity> selectCarCostEntityList(CarCostEntity carCostEntity);

    /**
     * 新增车辆费用单
     *
     * @param carCostEntity 车辆费用单
     * @return 结果
     */
    public int insertCarCostEntity(CarCostEntity carCostEntity);

    /**
     * 修改车辆费用单
     *
     * @param carCostEntity 车辆费用单
     * @return 结果
     */
    public int updateCarCostEntity(CarCostEntity carCostEntity);

    /**
     * 批量删除车辆费用单
     *
     * @param ids 需要删除的车辆费用单ID
     * @return 结果
     */
    public int deleteCarCostEntityByIds(String[] ids);

    /**
     * 删除车辆费用单信息
     *
     * @param id 车辆费用单ID
     * @return 结果
     */
    public int deleteCarCostEntityById(String id);
}
